﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.ObjectModel

Namespace roncliProductions.LibWowArmory.TalentTree

    ''' <summary>
    ''' A class that encapsulates a talent tree
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Tree

        Private lstTalents As New Collection(Of Talent)

        ''' <summary>
        ''' The name of the talent tree
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        ''' <summary>
        ''' The tree's talents
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Talents As Collection(Of Talent)
            Get
                Return lstTalents
            End Get
        End Property

        ''' <summary>
        ''' A constructor to create a new talent tree
        ''' </summary>
        ''' <param name="strName"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal strName As String)
            Name = strName
        End Sub

    End Class

End Namespace